package com.gxkj.projects.myshopx.dto;

import com.gxkj.projects.myshopx.entitys.Attribute;
import com.gxkj.projects.myshopx.entitys.Goods;
import com.gxkj.projects.myshopx.entitys.GoodsAttr;
import com.gxkj.projects.myshopx.entitys.GoodsGallery;

import java.io.Serializable;
import java.util.List;

/**
 * 供页面展示时使用
 */
public class GoodsDto extends Goods implements Serializable {
    private static final long serialVersionUID = 8456228027948026705L;
    //商品图集
    private List<GoodsGallery> dbGoodsGalleryList;
//商品属性结构列表
    private List<Attribute> structureGoodsAttrList;
//商品属性值
    private List<GoodsAttr> dbGoodsAttrList;

    public List<GoodsGallery> getDbGoodsGalleryList() {
        return dbGoodsGalleryList;
    }

    public void setDbGoodsGalleryList(List<GoodsGallery> dbGoodsGalleryList) {
        this.dbGoodsGalleryList = dbGoodsGalleryList;
    }

    public List<Attribute> getStructureGoodsAttrList() {
        return structureGoodsAttrList;
    }

    public void setStructureGoodsAttrList(List<Attribute> structureGoodsAttrList) {
        this.structureGoodsAttrList = structureGoodsAttrList;
    }

    public List<GoodsAttr> getDbGoodsAttrList() {
        return dbGoodsAttrList;
    }

    public void setDbGoodsAttrList(List<GoodsAttr> dbGoodsAttrList) {
        this.dbGoodsAttrList = dbGoodsAttrList;
    }
}
